<?php

class Zhishidi_Dailydeals_IndexController extends Mage_Core_Controller_Front_Action {
    const XML_DAILY_DEALS_SETTINGS_PATH = "zhishidi_dailydeals_info/settings/";

    public function indexAction() {
        $this->loadLayout();
        $this->getLayout()->getBlock('head')->setTitle($this->__(Mage::getStoreConfig(self::XML_DAILY_DEALS_SETTINGS_PATH . "meta_title")));
        $this->getLayout()->getBlock('head')->setDescription($this->__(Mage::getStoreConfig(self::XML_DAILY_DEALS_SETTINGS_PATH . "meta_description")));
        $this->getLayout()->getBlock('head')->setKeywords($this->__(Mage::getStoreConfig(self::XML_DAILY_DEALS_SETTINGS_PATH . "meta_keywords")));
        $this->getLayout()->getBlock('head')->setRobots($this->__(Mage::getStoreConfig(self::XML_DAILY_DEALS_SETTINGS_PATH . "settings/robots")));
      
        $this->renderLayout();
    }

}

?>
